AppGini 2.0 Online Help > Working with generated applications
After generating the PHP application based on your project, the next (and final) step is to upload the files to your server and set up the database. The generated files are saved to a folder you specify. Below is an example of files generated from a simple one table project.
Files created by AppGini and saved to a folder of your choice. The 'setup' folder contains the 'setup.php' script used to create the database and tables.


You should upload the entire folder to your web server. Make sure that your web server is properly configured to run .php files as PHP scripts (otherwise, they will probably be considered as text files and their entire source code will be displayed in the visitors' browsers -- revealing passwords and God-Knows-What information!!).

After you upload the files, you are ready to set up the database. Let's move on!
IMPORTANT Security notes
Did this title grab your attention? Good! It should really do! Please read on ...
Your database contains important information that you do not want any unauthorized person to mangle with ... So, only authorized users should have access to your database.

To do so, the best method is to use 'password-protected directories'. The folder in which you uploaded your PHP application should be password-protected so that only authorized user accounts can access it. Contact your server administrator to know how your server implements password protected directories. Most probably, it shall be through an htaccess file. In such case you'll find many PHP and other CGI scripts that manage user accounts automatically.

Another security measure you should consider is to set permissions of tables in AppGini while creating your projects. Each table in your database has separate edit, delete and add permissions. These give you total control regarding what users are allowed to do with each table.